package com.xwj.controller;

import com.xwj.service.MessageProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xwj
 * @date 2020/4/14
 */
@RestController
public class SendMessageController {
    @Autowired
    private MessageProvider messageProvider;
    @GetMapping(value = "/send")
    public String send() {
        return messageProvider.send();
    }
}
